<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>JS基本类型</h2>
</body>
<script>
    let n1=10000;
    let str='hello'
    let bol=n1>10;
    let a;
    let a2=null;
    let s1=Symbol('2302A')
    let s2=Symbol('2302A')
    let obj={
        [s1]:'hello'
    }
//     console.log(typeof  n1)
//    console.log(typeof str)
//    console.log(typeof bol)
//    console.log(typeof bol)
//    console.log(typeof a)
 //  console.log(typeof a2) //Object
  // console.log(obj[s1])

  // console.log(typeof NaN)  //NaN not a number
   console.log(NaN>10)  //NaN not a number
   console.log(NaN<10)  //NaN not a number
   console.log(NaN === NaN)  //NaN not a number

</script>
</html>